/*
  Copyright � 2009 Smart Enterprise Solution Corp.
  Email: contact@ses.vn - Website: http://www.ses.vn
  ThanhNam ERP Project.
*/
using System;
using System.Data;
using System.Configuration;
using System.Collections;

using VINETLIFE.DAL;
using VINETLIFE.DO;
/// <summary>
/// Summary description for cmsPaymentMethodBL
/// </summary>
namespace VINETLIFE.BL 
{
    public class cmsPaymentMethodBL 
    {
    	#region Private Variables
		cmsPaymentMethodDAL objcmsPaymentMethodDAL;
		#endregion
		
        #region Public Constructors
        public cmsPaymentMethodBL()
        {
            //
            // TODO: Add constructor logic here
            //
            objcmsPaymentMethodDAL=new cmsPaymentMethodDAL();
        }
        #endregion       

        #region Public Methods
        public int Insert(cmsPaymentMethodDO objcmsPaymentMethodDO)
        {
            return objcmsPaymentMethodDAL.Insert(objcmsPaymentMethodDO);
        }

        public int Update(cmsPaymentMethodDO objcmsPaymentMethodDO)
        {
             return objcmsPaymentMethodDAL.Update(objcmsPaymentMethodDO);

        }

        public int Delete(cmsPaymentMethodDO objcmsPaymentMethodDO)
        {
             return objcmsPaymentMethodDAL.Delete(objcmsPaymentMethodDO);

        }

         public int DeleteAll()
        {
             return objcmsPaymentMethodDAL.DeleteAll();
        }

        public cmsPaymentMethodDO Select(cmsPaymentMethodDO objcmsPaymentMethodDO)
        {
            return objcmsPaymentMethodDAL.Select(objcmsPaymentMethodDO);
        }
        public cmsPaymentMethodDO SelectByPaymentCode(string paymentCode)
        {
            return objcmsPaymentMethodDAL.SelectByPaymentCode(paymentCode);
        }
        public ArrayList SelectAll1( )
        {
         return objcmsPaymentMethodDAL.SelectAll1();
        }
        
        public DataTable SelectAll( )
        {
         return objcmsPaymentMethodDAL.SelectAll();
        }

        public DataTable SelectToCart()
        {
            return objcmsPaymentMethodDAL.SelectToCart();
        }
     
#endregion          
    
    }

}
